import Layout from '@/layout'

export default{
    
        path:'/employees',
        component:Layout,
        children:[
          {
            path:'',
            name:'employees',
            component:()=> import('@/views/employees/employees.vue'),
            meta:{title:'员工管理',icon:'tree'}
          },
          {
            hidden:true,//不在左侧菜单显示
            path:'detail/:id',//默认自动匹配父路由
            name:'datail',
            component:()=> import ('@/views/employees/detail.vue')
          }
        ]
      
}